home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / graphics / 3dview12.zip / VESA3D.HPP < prev    next >
C/C++ Source or Header  |  1996-05-29  |  2KB  |  42 lines

  1. struct VESA3D_Texture {
  2.     long TDX;
  3.     long TDY;
  4.     DWORD TEXPtr;
  5.     DWORD TEXLength;
  6.     DWORD *MULTable;
  7.     char *PAL;
  8. };
  9.  
  10. WORD VESA3D_LoadTexture( char *File, VESA3D_Texture &TEX );
  11. void VESA3D_MakeZBuffer();
  12. void VESA3D_ClearZBuffer();
  13. void VESA3D_SetTexturePalette( VESA3D_Texture &TEX, WORD N = 0);
  14. void VESA3D_FlipPageWrite();
  15. void VESA3D_FlipPageShow();
  16. void VESA3D_New3DTexQuad( long PA, long PB, long PC, long PD, VESA3D_Texture &TEX,
  17.                           _3D_Triangle_SideTyp S = Singlesided,
  18.                           _3D_Triangle_Typ T = Textured );
  19. void VESA3D_New3DGourQuad( long PA, long PB, long PC, long PD, DWORD C = 0,
  20.                            _3D_Triangle_SideTyp S = Singlesided );
  21. void VESA3D_New3DZBufQuad( long PA, long PB, long PC, long PD, DWORD C,
  22.                             _3D_Triangle_SideTyp S = Singlesided );
  23. void VESA3D_New3DGourZBufQuad( long PA, long PB, long PC, long PD, DWORD C,
  24.                                 _3D_Triangle_SideTyp S = Singlesided );
  25. void VESA3D_New3DQuad( long PA, long PB, long PC, long PD, DWORD C,
  26.                                 _3D_Triangle_SideTyp S = Singlesided,
  27.                                 _3D_Triangle_Typ T = GouraudShaded );
  28. void VESA3D_New3DQuadx( long PA, long PB, long PC, long PD, DWORD C,
  29.                         _3D_Triangle_SideTyp S, _3D_Triangle_Typ T, long Accurance = 0);
  30. void VESA3D_Init();                           
  31. void VESA3D_ConvertTexture( VESA3D_Texture TEX );
  32.                                                      
  33. extern double VESA3D_ShadeMul;
  34. extern double VESA3D_ShadeSub;
  35. extern WORD VESA3D_WriteSelector;
  36. extern WORD VESA3D_ZBuffer_Selector;
  37.  
  38.  
  39.  
  40.  
  41.  
  42.